<?=$this->messages(); ?>
<table>
    <tr>
        <td class="title" style="width: 120px;">Enable web server:</td>
        <td class="input_field">
            <input id="<?=$this->model_option_web_server_enable->getCaption() ?>" type="checkbox" onclick="event_onClick_Web_Server_Enable()" <? if ($this->model_option_web_server_enable->getValue() == "Yes") echo " checked"; ?> />
        </td>
    </tr>
    <tr id="tr_<?=$this->model_option_web_server_port->getCaption() ?>" <? if ($this->model_option_web_server_enable->getValue() == "No") echo "style=\"display: none;\""; ?>>
        <td class="title">Port:</td>
        <td class="input_filed">
            <input id="<?=$this->model_option_web_server_port->getCaption() ?>" value="<?=$this->model_option_web_server_port->getValue() ?>" />
        </td>
    </tr>
    <tr id="tr_<?=$this->model_option_web_admin_access_enable->getCaption() ?>" <? if ($this->model_option_web_server_enable->getValue() == "No") echo "style=\"display: none;\""; ?>>
        <td class="title">Enable admin access:</td>
        <td class="input_field">
            <input id="<?=$this->model_option_web_admin_access_enable->getCaption() ?>" type="checkbox" onclick="event_onClick_Web_Server_Enable()" <? if ($this->model_option_web_admin_access_enable->getValue() == "Yes") echo " checked"; ?> />
        </td>
    </tr>
    <tr id="tr_<?=$this->model_option_web_admin_password->getCaption() ?>" <? if (($this->model_option_web_server_enable->getValue() == "No") || ($this->model_option_web_admin_access_enable->getValue() == "No")) echo "style=\"display: none;\""; ?>>
        <td class="title">Admin password:</td>
        <td class="input_filed">
            <input id="<?=$this->model_option_web_admin_password->getCaption() ?>" value="<?=$this->model_option_web_admin_password->getValue() ?>" />
        </td>
    </tr>
</table>
<?=$this->buttons(); ?>